How To Add Screen Shooter To Any Java MIDlet that Has An InterfaceManually Procedures:
Download one of the attached files.
Using MiniCommander, extract your MIDlet "app/game" to a sub folder.
Using ByteCode Editor, search for this code:
Code:
javax/microedition/lcdui/Canvas
A few .CLASS files will pop up, now open it one by one > Constant pool > Press "7" > Replace:
Code:
javax/microedition/lcdui/Canvaswith:
Code:
javay/microedition/lcdui/Canvasthen press OK. do the same with the rest of .CLASS files that poped up after searching.
And also Change:
Code:
keyPressedto
Code:
KeyPressed
Code:
keyReleasedto
Code:
KeyReleased
Again usingByteCode Editor, search for this code:
Code:
javax/microedition/midlet/MIDlet
A few .CLASS files will pop up, now open it one by one > Constant pool > Press "7" > Replace:
Code:
javax/microedition/midlet/MIDletwith:
Code:
javay/microedition/lcdui/MIDhackthen press OK. do the same with the rest of.CLASS files that poped up after searching.
Note:
Don't change:
Code:
(Ljavax/microedition/midlet/MIDlet;)Ljavax/microedition/lcdui/Display;
Extractjavayfolder from any of the attached files to the sub folder where you have extracted your MIDlet.
Add the following lines in META-INF/MANIFEST.MF file:
Code:
jiejie: -10
jieset: 42
jiedir: file:///E:/ScreenShots/
jietime: 100
Pack all files using MiniCommandertogether, thereafter, install your modified MIDlet and Enjoy. Attached file here